<?php

namespace App\Http\Requests\Admin\Collection;
use App\Http\Requests\Request;

class ModLanguageRequest extends Request {
    public function authorize(){
        return true;
    }
    public function rules(){
        return [
            'language'=>'required',
            'degree' => 'required',
        ];
    }
    public function messages(){
        return [
            'language.require'=>'请选择语种',
            'degree.require'=>'请选择熟练程度',
        ];
    }
}